<%@ include file="../includes/topInclude.jsp" %>   
<script type='text/javascript' src='/publishmx/dwr/interface/AjaxService.js'></script>
<script type='text/javascript' src='/publishmx/dwr/engine.js'></script>
<script type='text/javascript' src='/publishmx/dwr/util.js'></script>

<TABLE cellSpacing=1 cellPadding=1 width="100%" height="10" border=0  id=TABLE1>
    <TR >
        <TD valign="top" colspan="2">
            <iframe name="notificationFrame" src="portletViewer.htm"  style="WIDTH: 100%;height:200px" noResize scrolling=yes border=0 frameborder=0 framespacing=0 style="border-bottom-width:0px;border-top-width:0px;"></iframe>
        </TD>
    </TR> 
    
</TABLE>
<br>
<script>
    function getAllMsgInfo(msgId){
        AjaxService.getMessageById(msgId,displayMsgInfo);
    }
    function displayMsgInfo(data) {
       // alert("In metho in parent");
        document.getElementById('msgId').innerHTML = data.id;
        document.getElementById('msgNumber').innerHTML = data.inputPhoneNumber;
        document.getElementById('msgDate').innerHTML = data.createDate;
        document.getElementById('msgText').innerHTML = data.text;
        document.getElementById('msgStatus').innerHTML = data.status;        
      //  alert("out metho in PArent");
    }
</script>
<table>
    <tr>
        <td>Id:</td><td><span id="msgId"></td>
    </tr>
    <tr>    
        <td>Numero:</td><td><span id="msgNumber"></td>
    </tr>
    <tr>
        <td>Fecha:</td><td><span id="msgDate"></td>
    </tr>
    <tr>
        <td>Text:</td><td><span id="msgText"></td>
    </tr>
    <tr>
        <td>Status:</td><td><span id="msgStatus"></td>
    </tr>
    
</table>

<%@ include file="../includes/bottomInclude.jsp" %>    

